<!DOCTYPE html>
<html lang="en" xmlns:margin-bottom="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.5.3/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.5.3/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.5.3/demo/demo.css">
    <script type="text/javascript" src="js/jquery-easyui-1.5.3/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery-easyui-1.5.3/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="js/register.js"></script>
    <style>
       body{
               background: url(images/background2.jpg) no-repeat;    
               background-size:100%;
               }       
        .panel{
              margin-left:650px;
        }     
   </style>
</head>
<body>
<div style="margin:180px 0; left:100px;"></div>
<div class="easyui-panel" title="用户注册" style="width:100%;max-width:650px;padding:20px 150px;opacity: 0.8; ">
    <form id="ff" method="post" action="user/add.do">
        <div style="margin-bottom:20px">
            <input class="easyui-textbox"  id="loginname" name="loginname" style="width:100%" missingmessage="请输入登录名" data-options="label:'登录名:',required:'true',validType:['namea','minLength[6]','maxLength[20]']" >
        </div>
        <div style="margin-bottom:20px">
            <input class="easyui-passwordbox"  id="password" name="password"  style="width:100%" label="密码:"  missingmessage="请输入密码" required="required" data-options="validType:['minLength[6]','passworda','passwordb','maxLength[20]']">
        </div>
        <div style="margin-bottom:20px">
            <input class="easyui-passwordbox"  id="repassword" name="repassword"   style="width:100%" label="确认密码:"  missingmessage="请输入确认密码" required="required" validType="equals['#password']">
        </div>
        <div style="margin-bottom:20px">
            <input class="easyui-textbox"  name="name" style="width:100%" missingmessage="请输入您的真实姓名" data-options="label:'姓名:',required:true,validType:'chinese'">
        </div>
        <div style="margin-bottom:20px">
            性别：<input class="easyui_validatebox" type="radio" name="sex" value="男" style="margin-left: 60px">男
                <input type="radio" class="easyui_validatebox" name="sex" value="女" style="margin-left: 50px">女
        </div>
         <div style="margin-bottom:20px">
            <input class="easyui-textbox" name="tel" style="width:100%" missingmessage="请输入您的手机号码" data-options="label:'手机号码:',required:true,validType:'phone'">
        </div>
        <div style="clear: left">
                <input   type="checkbox" id="check" name="resumeFilter">我已阅读并同意遵守<a href="#">《蓬荜房产在线服务平台用户协议》</a>
        </div>
        <div style="text-align:center; margin-top:20px">
            <button type="submit" class="btn btn-info" onclick="submit()">确认</button>
        </div>
    </form>
</div>
<script type="text/javascript">
function submit(){
	document.getElementById("#ff").value="";
}
</script>
</body>
</html>